Processing, browsing and searching an electronic document

ABSTRACT

A method for processing electronic document and its corresponding device, a method for browsing electronic document and its corresponding browser, as well as a method for searching electronic document and its corresponding searching system are disclosed in the present invention. The method comprises at least the following steps of: generating at least one query according to the content of said document when an author is composing the electronic document; and correspondingly storing information about said at least one query with said electronic document. Wherein the query comprises keywords, keyword string or questions, and the query has passed the verification in order to ensure its reliability.

FIELD OF THE INVENTION

The present invention relates generally to the technology of data processing, and more particularly to a method for processing electronic document and its corresponding device, a method for browsing electronic document and its corresponding browser, as well as a method for searching electronic document and its corresponding searching system, based on technology of the search engine.

DESCRIPTION OF BACKGROUND ART

Search engine is a kind of technology rapidly developed with the booming information on the Internet. Search engine is used to collect, discover information according to certain strategies, as well as to understand, extract, manage and process the information, thus provide the user with retrieving service and reach the goal of information navigation. However, with the rapid evolution of Internet, content on the Internet are booming quickly. For example, the search engine, such as Google, is suffering from a main problem that a single query may produce a lot of relevant documents, but most of them may be irrelevant to the subject of the present query inputted by the user. At the same time, since that the keywords, keyword string or questions that are used in a query doesn't match the relevant documents, the real relevant documents will be missing. For the same reason, specific query often fails to produce any expected documents for a user's query. Because of the reasons above, when retrieving or searching the documents with search engine utilizing currently available technologies, the users feel that it is difficult to find the right things exactly and comprehensively that they want. This is another reason resulting in the users' dissatisfaction for the service quality of the search engine.

On the other hand, in currently available technologies, the document writing tools, the document management tools and the document retrieving or searching tools are independently, i.e., an author will not concern with how the future readers retrieve or search and use the content of the document written by the author when he/she is writing the electronic document. However, simultaneously, from the point view of information accessing and using, user will feel it is difficult to find the right things he/she really wants to get.

Moreover, since the computer's low comprehension ability to the natural language is at the word level understanding, and as for document management tools and document retrieving tools, sentence and document level understanding together with semantic capabilities are needed to satisfy the user's needs. However, because of the limitation of related technologies and tools, the document management and the searching technologies can't be updated from current word level understanding to the sentence and document level understanding together with semantic capabilities in a short time. As a result, it can be imagined that the development of document retrieving technology can't meet the user's needs towards information accessing in next years.

SUMMARY OF THE INVENTION

Therefore, in order to solve the problems mentioned above and improve the performance of currently available search engines, the present invention provides methods, apparatus and systems wherein relevant information is prepared for future document management and information retrieving when an author is writing the electronic documents, i.e., when an author is preparing the document, some tools are provided in order to contribute to user's convenient information retrieval. More specifically, when an author is composing the document, he/she also prepares the relevant query on the content of the document, for example, a query maybe some keywords, keyword string or some simple questions. Thus help users find the attached query information in the electronic document rapidly by using search engine, and retrieve the most relevant documents. On the other hand, through preparing one or more knowledge tags related with the query in the electronic document and creating indices for knowledge tags in multiple electronic documents, search engine may do nothing but search for created knowledge tags, thus reduce the workload of search engine and improve the precision and recall of the search engine's query. Moreover, the query speed of search engine is increased, thus improve the performance of search engine.

According to one aspect of the present invention, an electronic document processing method is provided comprising the steps of: generating at least one query according to the content of said document when an author is composing the electronic document; correspondingly storing information about said at least one query with said document.

According to another aspect of the present invention, an electronic document processing means is provided including: electronic document editing unit for editing an electronic document; feature extracting unit for extracting features from said electronic document being edited; query generating unit for generating query information about the content of the document according to the feature extracted by the feature extracting unit, wherein said query comprising keywords, keyword string or questions; and query storing unit for correspondingly storing the query information generated by the query generating unit with said electronic document.

According to other aspects of the present invention, there are also provided an electronic document browsing method, an electronic document browser, an electronic document retrieving method, and an electronic document retrieving system.

BRIEF DESCRIPTION OF DRAWINGS

The above and other objects, features, and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which:

FIG. 1 is a flowchart showing an electronic document processing method according to an embodiment of the present invention;

FIG. 2 is a schematic diagram showing the structure of an electronic document processing device according to an embodiment of the present invention;

FIG. 3 is a flowchart showing an electronic document browsing method according to an embodiment of the present invention;

FIG. 4 is a block schematic diagram showing the structure of an electronic document browser according to an embodiment of the present invention;

FIG. 5 is a flowchart showing an electronic document retrieving method according to an embodiment of the present invention; and

FIG. 6 is a block schematic diagram showing the structure of an electronic document retrieving system according to an embodiment of the present invention.

DESCRIPTION OF THE PRESENT INVENTION

The present invention provides methods, apparatus and systems wherein relevant information is prepared for future document management and information retrieving when an author is writing the electronic documents, i.e., when an author is preparing the document, some tools are provided in order to contribute to user's convenient information retrieval. More specifically, when an author is composing the document, he/she also prepares the relevant query on the content of the document, for example, a query maybe some keywords, keyword string or some simple questions. Thus help users find the attached query information in the electronic document rapidly by using search engine, and retrieve the most relevant documents. On the other hand, through preparing one or more knowledge tags related with the query in the electronic document and creating indices for knowledge tags in multiple electronic documents, search engine may do nothing but search for created knowledge tags, thus reduce the workload of search engine and improve the precision and recall of the search engine's query. Moreover, the query speed of search engine is increased, thus improve the performance of search engine.

Accordingly, the present invention provides an electronic document processing method, comprising the steps of: generating at least one query according to the content of said document when an author is composing the electronic document; correspondingly storing information about said at least one query with said document.

The present invention also provides an electronic document processing means, including: electronic document editing unit for editing an electronic document; feature extracting unit for extracting features from said electronic document being edited; query generating unit for generating query information about the content of the document according to the feature extracted by the feature extracting unit, wherein said query comprising keywords, keyword string or questions; and query storing unit for correspondingly storing the query information generated by the query generating unit with said electronic document.

The present invention also provides an electronic document browsing method, comprises the steps of: reading query information correspondingly stored with the electronic document, wherein said query including keywords, keyword string or questions; presenting user with at least one query in query information; and representing the content of said electronic document to said user when user confirms said query.

The present invention also provides an electronic document browser, comprising: electronic document browsing unit for browsing the content of the electronic document; query information reading unit for reading at least one query information correspondingly stored with the electronic document, wherein said query contains keywords, keyword string or questions; and query representing unit for representing the user with at least one query in query information read by the query information reading unit.

The present invention also provides an electronic document retrieving method, comprising the steps of: extracting at least one query information correspondingly stored with the electronic document, wherein each of the query information containing keywords, keyword string or questions of at least one corresponding queries; indexing for the extracted multiple query information; in responsive to the user's queries, searching at least one queries, which is same or closely related to the user's query input, from the query indices; representing the user with said same or closely related queries; and providing the user with the electronic document or a link to said electronic document according to the user's selected query.

The present invention also provides an electronic document retrieving system, comprising: query information extracting means for extracting query information correspondingly stored with said electronic document, wherein each of said query information containing keywords, keyword string or questions of at least one query; query indexing means for indexing the queries in said extracted query information; query index storing means for storing query indices produced by query indexing means; query searching means for searching at least one query, which are same with or closely related to the user's query input, from the query indices stored in query index storing means; query presenting means for presenting the user with at least one queries, which are same with or closely related to user's query, searched by query searching means; and electronic document providing means for providing the user with the electronic document or a link to said electronic document according to the user's selected query.

In conjunction with the figures, a detailed description of each advantageous embodiment according to the present invention will be discussed as following:

Electronic Document Processing Method

According to one aspect of the present invention, an electronic document processing method is proposed herein. FIG. 1 is the flowchart of electronic document processing method according to one embodiment of the present invention. As shown in FIG. 1, the author composes an electronic document in process 101. The electronic document processing method according to the present invention is based on the traditional authoring or editing methods. With these traditional authoring or editing tools, such as MS Word, Acrobat Writer or WPS, etc, the author can perform such operations as editing, viewing on the document. According to the present invention, a query (or queries) is/are generated when an author has completed a whole document, or accomplished part of the document (such as a chapter).

Then, a text stream (or text segment) is selected to generate a query (queries) in process 102. In the electronic document processing method of the present invention, a part of the written document can be selected as a text stream by the author, and the text stream can also be generated automatically using algorithms based on the composed documents. Wherein, the author's document may be preprocessed firstly. And according to the processing methods based on currently available technologies, the preprocessing methods at least include followings: the operation of extracting text segments from the written document, and the operation of removing stopwords from the extracted text segments. Wherein stopwords are those frequently used and should be excluded from the searching range such as ‘□’, ‘□’, ‘□’, ‘□’, etc, in Chinese glossary. If the text stream is generated automatically, history algorithm can be used to generate a text stream, which is relevant to the content of the author's document and need to be processed. Such a method is mainly based on such a property: the previous context that leads up to the current text may be relevant to current text segment and is helpful in generating the query for it. Here, history algorithm uses terms or words in the previous text segments to aid in generating a query (queries) for current text segment. In another word, with the relevance degree between the term vectors, the vector representation (for the old segment and it can be represented as vector ν₁) of the text segment S previous to current text segment and the term vector of current text segment, the combination of corresponding text segments is determined and the text stream is generated then. That's to say, history algorithm combines the previous associated text segment with new text segments to generate the text stream that needs to be processed. Specifically, for text segments, the representation of vector stores the weight of each word, except stopwords, in the text segment. The method includes following processes:

-   -   i) Calculate the weight of each word, except the stopwords, in         previous associated text segment, for example, utilizing the         tf−idf algorithm, as shown in equation (1):         w=tf*idf  (1)

In equation (1), tf represents the frequency of the term occurred in the text segment S. idf=all_segments/term_segments, here, all_segments is the number of independent text segments, which are the text segments used to generate a query (queries), in the whole document. And term_segments is the number of independent segments that contain the given term. It can be known that a query may correspond to several keywords, or keyword string, or some simple questions in currently available retrieving technologies.

-   -   ii) According to the weight of each term in text segment,         calculate the similarity degree or relevance degree of the         present text segment to multiple previous text segments S.         Specifically, when receiving a new segment T, if-idf algorithm         is used to construct the vector of ν₂ for representing new text         segment. Then it checks the similarity of new text segment T         with the old text segment S by computing a similarity score of         their vectors, respectively, ν₂ and ν₁.     -   iii) Compare the similarity score of current text segment T and         previous associated segment S with a given threshold. If the         similarity score is higher than given threshold, it can be         inferred that current text segment T is similar to the previous         text. Otherwise, T is different from the previous text segment.

If text segment T is similar to the earlier text, the old term vector ν₁ is decreased via multiplying every weight by attenuation factor α (0<α<1) and then the two vectors are merged into vector ν₃, and the vector ν₁ is replaced with ν₃. The candidate text stream ST can be obtained by combining S and T. Then T is replaced with ST and continues to receive new text segment. If T is dissimilar with previous text, segment T is current candidate text stream need to be processed. Moreover, ν₁ is replaced with ν₂, and T is replaced with S, thus good preparation is made for generating next text stream.

It should be known that the illustration above is just one of methods used to determine the text stream that needs to be processed, and other methods can also be utilized to get the text stream for generating queries.

Back to FIG. 1, in succession, in step 103, the generated text stream is analyzed, from which the terms or features relevant to search engine's query to be generated are extracted. It should be known that, as discussed above, through utilizing history algorithm the query on current text segment is generated with the assistance of using the words existing in previous associated text segment. For instance, features can correspond to a query with some keywords, keyword string or several simple questions.

Then, in step 104, a query, which is corresponding to the text stream in processing, is generated according to the extracted feature information. It can be known that there are many kinds of methods used to generate at least one query from the text stream. For example, an author can input a query, which is regarded as the most relevant to the text stream by him/her. And the query can be generated automatically by utilizing algorithm. Here we can use tf-idf algorithm to generate queries. Under such circumstances, the weight of the keywords in combined vector can be used to choose keywords as a query.

Thereafter, in process 105, according to the document's content, the generated query was verified by performing some operations, such as viewing, modifying. Therefore, verification includes an author's viewing and modifying the generated query, thus it is ensured that the query can represent the content of the document exactly and comprehensively.

In succession, in process 106, it's determined whether more query are expected to generate. Usually, a document may contain the content of many aspects and readers have different goals when searching and reading the document. Therefore, if in process 106 it is determined that the document also contains more query that can reflect the content of the document, the procedure will be back to the process 103 and a next query will be generated according to the generated feature information. If there is no other queries need to be generated, the procedure will go to process 107.

In the process 107, the information about query/queries is correspondingly stored with the document. For example, the keywords, the keyword string or some simple questions corresponding to the query may be stored. Specifically, according to the preferable embodiment of the present invention, the query information can be stored with electronic document as knowledge tags. For instance, the extensible language (XML) can be utilized to attach the tags to the document.

As mentioned above, the present invention doesn't limit the specific way by which the queries are stored. For example, it can be stored with the electronic document as a part of the electronic document, and it can also be stored separately as long as it can correspond to the electronic document.

From the descriptions above, it can be known that if the electronic document processing method according to the present embodiment is adopted, it can assist the author to complete several preparations for queries during the process of writing, and the veracity of the query (one or more keywords, keyword string or questions) is ensured by utilizing the author's understanding on the document without adding the burden of the author. And, since that multiple queries (one or more keywords, keyword string or questions), which can fully reflect the content of the document, can be generated for this document, it will be more exact and comprehensive when performing information retrieval using search engine, thus higher user's satisfaction can be obtained.

Electronic Document Processing Device

With the same inventive concept of the invention, an electronic document processing means is provided according to another aspect of the present invention. FIG. 2 is a schematic diagram showing the structure of an electronic document processing device according to an embodiment of the present invention.

As shown in FIG. 2, the electronic document processing device 200 at least includes following units: an electronic document editing unit 201, which is used to edit an electronic document, wherein the electronic document editing unit 201 can be an independent editing unit, or currently available editors, such as MS word, Acrobat Writer or WPS, etc.; a text stream generating unit 202, which is used for an author to process the written electronic document in order to determine the text stream that is used to generate query related to the document; a feature extracting unit 203, which is used to extract the features from the electronic document being edited, preferably, extract the features from the text stream generated by text-stream generating unit 202; a query generating unit 205, which is used to generate query information about the content of the document according to the feature information extracted by the feature extractor unit 203; wherein the query includes keywords, keyword string or questions; a query verification unit 204, which is used to validate and modify the queries generated by the query generating unit 205 according to the content of the document; and a query information storing unit 206, which is used to correspondingly store the queries generated by the query generating unit 205 with the electronic document.

Accordingly, the text stream generating unit 202 of the electronic document processing device 200 may further include following means: a weight calculating means, which is used to calculate the weightiness of each word in associated text segment of the document; a text segment similarity calculating means, which is used to calculate the similarity or relevance degree between current text segment and previous text segment in said electronic document according to the weight of each word in associated text segment of the document; a text stream determining means, which is used to compare the similarity score of the previous text segment and current segment with a given threshold and determine the text stream used to generate a query.

From the description of the embodiment above, it can be known that if the electronic document processing method according to the present embodiment is adopted, it can assist the author to complete several preparations for multiple queries during the process of writing, and the accuracy of the query (one or more keywords, keyword string or questions) is ensured by utilizing the author's comprehension on the document without adding the burden of the author. And, since that multiple queries (one or more keywords, keyword string or questions), which can fully reflect the content of the document, can be generated for this document, it will be more exact and comprehensive when performing information retrieving using search engine, thus higher user's satisfaction can be obtained.

Method for Browsing an Electronic Documents

With the same inventive concept of the invention, a method for browsing an electronic document is provided according to another aspect of the present invention. Wherein the electronic document is the one generated by the electronic document processing method mentioned above, i.e., the query information relevant to search engine is correspondingly stored with the electronic document.

FIG. 3 is a flowchart showing an electronic document browsing method according to an embodiment of the present invention. As shown in FIG. 3, in process 301, query information stored in electronic document is retrieved firstly. Specifically, the query information is retrieved according to the way by which the information was stored. For example, if the query information is stored in the tail of the document as knowledge tags, the knowledge tags will be identified correspondingly and the query information will be read out from it.

In succession, in process 302, queries in the query information will be presented to the user. Specifically, there are various kinds of methods for query's representation. For example, a list can be listed containing the keywords, keyword string or several simple questions. Or, if the amount of the queries are too large, user can input the content of the query that user expects to perform. Then select the query whose keywords, keyword string or questions are closely related to those of the query or queries input by the user and represent the most related one to the user.

In succession, in process 303, the reader verifies the query and judges that if he/she is interested in the document. If the user has interests in the document and makes a confirmation, then the procedure will enter into process 304, and the corresponding content of document will be represented to the reader. Otherwise, the document's content won't be represented and the procedure enters into the process 305 to end the process by closing the document.

From the description of the embodiment above, it can be known that if the method for browsing the electronic documents according to the present embodiment is adopted, the electronic document's query information, which is generated by the method for electronic document processing according to the present invention mentioned above, can be utilized. Before all content of document are presented to the reader, the query about the content of the document, which is verified by the user, will be provided to the reader for viewing. Reader can understand approximate content of the document, thus the reading time can be saved for the reader.

Electronic Document Browser

With the same inventive concept of the invention, an electronic document browser is provided according to another aspect of the present invention. Wherein the electronic document is the one generated by the electronic document processing method mentioned above, i.e., the query information relevant to search engine is stored with respect to the electronic document.

FIG. 4 is a block schematic diagram showing the structure of an electronic document browser according to an embodiment of the present invention. As shown in FIG. 4, the electronic document browser 400 at least includes following units:

-   -   an electronic document browsing unit 401, which is used to         browse the electronic document's content. It can be a browser         using current technologies such as MS Word Viewer, MS Internet         Explorer, Netscape Navigator, Acrobat Reader, etc;     -   a query information reading unit 402, which is used to read the         query information correspondingly stored with the electronic         document. Specifically, the query information is read out         according to the way it was stored. For instance, if the query         information is stored in the tail of the document as knowledge         tags, the knowledge tag will be identified correspondingly and         the query information will be read out.     -   a query information representing unit 403 for representing to         the user the query which is in the query information read out by         the query information reading unit. Specifically, there are         various kinds of ways to represent the query. For example, the         keywords, keyword string or several questions can be listed as a         list. Or, if the amount of the queries are large, user can input         the query that user expected to perform. Then the query, which         is the same with or closely related to the query input by the         user, will be selected from the query list and the query will be         represent to the user. Under such circumstances, the browser 400         of the present invention can further contain a query selection         unit (not shown). The query selection unit is used to select the         query that is the same or closely related to the user's query         from the queries in the list of query information.

From the description of the embodiment above, it can be known that the electronic document browser in this embodiment can implement the electronic document browsing method mentioned above of the present invention. If the electronic document browser according to the present embodiment is adopted, the electronic document's query information, which is generated by the electronic document processing method of the present invention mentioned above, can be utilized. Before all contents are presented to the reader, the query about the content of the document, which is verified by the user, will be provided to the reader for viewing. Reader can understand approximate content of the document, thus the reading time can be saved for the reader.

Electronic Document Retrieving Method

With the same inventive concept of the invention, a method for retrieving electronic document is provided according to another aspect of the present invention. Wherein the electronic document is the one generated by the electronic document processing method mentioned above, i.e., the query information relevant to search engine is correspondingly stored with the electronic document.

FIG. 5 is a flowchart showing an electronic document retrieving method according to an embodiment of the present invention. As shown in FIG. 5, in process 501, firstly, the query information correspondingly stored with multiple electronic documents, are extracted, and each of them contains one or more keywords, keyword string or questions in corresponding query. Specifically, if the author of the electronic document uses the electronic document processing means mentioned above to compose the document, every document may contain the query information (one or more keywords, keyword string or questions) about the query on the content of the document. In process 501, the query information about multiple electronic documents will be extracted. Especially, for the electronic documents published on the Internet, web crawler can be utilized to search every electronic document all over the network and the corresponding query information will be extracted, for instance, it is extracted from the knowledge tags.

In succession, in process 502, the indices are generated for the extracted query information. Here, various kinds of retrieving methods in information retrieving field can be used to generate the indices for these queries, such as inverted files, signature files, PAT trees, or PAT arrays, etc.

In succession, in process 503, the user input his/her own query. User's query can be one or more keywords, keyword string or questions.

In succession, in process 504, one or more queries, which are the same with or closely related to the query inputted by the user, will be found out in the query indices. Specifically, the method calculates the relevance degree between the user's query and each query in the query indices, and the query whose relevance degree is the largest or larger than a given value will be selected.

Then, in process 505, the query that is the same with or closely related to the user's query will be represented to the user. And, in process 506, when user selects one of the queries, the user will be provided with the electronic document corresponding to user selected query or with a link to said electronic document.

Moreover, the method may contain process 507 either. In this process, user can give a feedback to indicate whether the query is accurate. So, in process 508, the query information can be updated according to the feedback.

From the description of the embodiment above, it can be known that the electronic document retrieving method of the present embodiment can utilize the electronic document's query information that is generated by the electronic document processing method mentioned above according to the present invention. And the query information are extracted and used to improve the performance of information acquisition. Since that the queries in query information have passed the verification, the accuracy and readability of the query can be guaranteed. As a result, the electronic document retrieving method of the present embodiment is more accurate. Further more, before all contents are presented to the reader, the query about the content of the document, which is verified by the user, will be provided to the reader for viewing. Reader can understand approximate content of the document, thus the reading time can be saved for the reader. In addition, because that reader (user utilizing search engine for querying) can give a feedback to notify whether the query provided in the electronic document is accurate or not, the corresponding query can be updated based on such a feedback. Therefore, the accuracy of search engine can be improved exactly.

Electronic Document Retrieving system

With the same inventive concept of the invention, an electronic document retrieving system is provided according to another aspect of the present invention. Wherein the electronic document is the one generated by the electronic document processing method mentioned above, i.e., the query information related to search engine is stored with respect to the document.

Corresponding to the electronic document retrieving method illustrated in FIG. 5, FIG. 6 is a block schematic diagram showing the structure of an electronic document retrieving system according to an embodiment of the present invention.

As shown in FIG. 6, the electronic document retrieving system 600 contains at least following components. A query information extractor 601, which is used to extract the query information correspondingly stored with the electronic document. Each of the query information contains keywords, keyword string or questions of one or more corresponding queries. As discussed above, the query information extractor 601 maybe a web crawler used to search every electronic document all over the network and extract the corresponding query information. A query index means 602 for generating indices for the queries in extracted query information. A query index storing means 603 for storing the query indices produced by query index means 602. A query searching means 606 for searching at least one query, which are the same with or closely related to the user's query input from the query indices stored in the query index storing means 603. A query presentation means 605 for presenting the user with at least one queries, which are the same with or closely related to user's query and found by the query searching means 606. An electronic document supply means 604 for providing the user with the electronic document corresponding to the user's selected query or with a link to said electronic document.

Furthermore, the retrieving system 600 may also include following components. A similarity calculating means (not shown) for calculating the similarity between two queries (keywords, keyword string or questions). Consequently, the query searching means 606 will utilize such means to calculate the relevance degree between user's query input and the queries in query indices and get out one query with the largest relevance degree or the one whose relevance degree is larger than a given value.

Moreover, the retrieving system 600 may also include: a query feedback means (not shown), which allows the user to verify the represented query through such operations as evaluating, modifying, etc; and a feedback will be returned correspondingly. Therefore the corresponding query information will be updated.

From the description of the embodiment above, it can be known that the electronic document retrieving system of the present embodiment can carry out the electronic document retrieving method illustrated in FIG. 5. And the query information, which is generated by the electronic document processing method mentioned above according to the present invention, can be used to improve the performance of information acquisition. Since that the queries in query information have passed the verification, the accuracy and readability of the query can be guaranteed. As a result, the method for retrieving electronic document of the present embodiment is more accurate. Further more, before all contents are presented to the reader, the query about the content of the document, which is verified by the user, will be provided to the reader for viewing. Reader can understand approximate content of the document, thus the reading time can be saved for the reader. In addition, because that user can give a feedback to notify whether the query provided in the electronic document is accurate or not, the corresponding query can be updated. Therefore, the accuracy of search engine can be improved exactly.

The method for processing an electronic document and its corresponding device, the method for browsing an electronic document and its corresponding browser, and the method for retrieving an electronic document and its corresponding retrieving system are disclosed above through examples, but it should be noted that these embodiments are only exemplary examples, persons skilled in this technical field can make various alterations or modifications in implementing of the present invention without departing from the spirit or scope thereof. Therefore, the invention is not limited to these embodiments, and is only defined by the following claims.

Variations described for the present invention can be realized in any combination desirable for each particular application. Thus particular limitations, and/or embodiment enhancements described herein, which may have particular advantages to a particular application need not be used for all applications. Also, not all limitations need be implemented in methods, systems and/or apparatus including one or more concepts of the present invention.

The present invention can be realized in hardware, software, or a combination of hardware and software. A visualization tool according to the present invention can be realized in a centralized fashion in one computer system, or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system—or other apparatus adapted for carrying out the methods and/or functions described herein—is suitable. A typical combination of hardware and software could be a general purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein. The present invention can also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which—when loaded in a computer system—is able to carry out these methods.

Computer program means or computer program in the present context include any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after conversion to another language, code or notation, and/or reproduction in a different material form.

Thus the invention includes an article of manufacture which comprises a computer usable medium having computer readable program code means embodied therein for causing a function described above. The computer readable program code means in the article of manufacture comprises computer readable program code means for causing a computer to effect the steps of a method of this invention. Similarly, the present invention may be implemented as a computer program product comprising a computer usable medium having computer readable program code means embodied therein for causing a function described above. The computer readable program code means in the computer program product comprising computer readable program code means for causing a computer to effect one or more functions of this invention. Furthermore, the present invention may be implemented as a program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform method steps for causing one or more functions of this invention.

It is noted that the foregoing has outlined some of the more pertinent objects and embodiments of the present invention. This invention may be used for many applications. Thus, although the description is made for particular arrangements and methods, the intent and concept of the invention is suitable and applicable to other arrangements and applications. It will be clear to those skilled in the art that modifications to the disclosed embodiments can be effected without departing from the spirit and scope of the invention. The described embodiments ought to be construed to be merely illustrative of some of the more prominent features and applications of the invention. Other beneficial results can be realized by applying the disclosed invention in a different manner or modifying the invention in ways known to those familiar with the art. 

1. An electronic document processing method, comprising the steps of: generating at least one query according to the content of said document when an author is composing the electronic document; and correspondingly storing information about said at least one query with said electronic document.
 2. The electronic document processing method according to claim 1, wherein the step of generating each of at least one query further includes: selecting text stream to generate said queries; extracting features from said selected text stream and generating at least one query: information about said selected text stream.
 3. The electronic document processing method according to claim 2, wherein the step of selecting text stream to generate the queries includes: calculating the weight of each word except the stopwords in associated text segment; calculating the similarity degree of present text segment and previous text segment according to the weight of each word in said text segment; and comparing the calculated similarity degree between the present text segment and previous text segment with a given threshold and then determining the text stream for generating said queries.
 4. The electronic document processing method according to claim 2, wherein the step of extracting features from the selected text stream and generating at least one query information about said text stream further comprises: extracting keywords, keyword string or questions contained in the features as a query.
 5. The electronic document processing method according to claim 2, wherein the step of generating at least one query information for said selected text stream further includes: verifying the generated query through the operations of reviewing, modifying according to the content of the document.
 6. The electronic document processing method according to claim 1, wherein the step of correspondingly storing information about said at least one query with said electronic document includes: storing said query information in said electronic document as knowledge tags.
 7. The electronic document processing method according to claim 1, wherein the step of correspondingly storing information about said at least one query with said electronic document includes: storing said query information as a file of knowledge tags that is associated with said electronic document.
 8. An electronic document processing device, characterized in that includes: an electronic document editing unit for editing an electronic document; a feature extracting unit for extracting features from said electronic document being edited; a query generating unit for generating query information about the content of the document according to the feature extracted by the feature extracting unit, wherein said query comprising keywords, keyword string or questions; and a query storing unit for correspondingly storing the query information generated by the query generating unit with said electronic document.
 9. The electronic document processing means according to claim 8, characterized in that it further includes: a text stream generating unit for processing the electronic document so as to determine the text stream to be used to generate query for the document.
 10. The electronic document processing device according to claim 9, further comprising: a weight calculating means for calculating the weight of each word in associated text segment in said electronic document; a similarity calculating means for calculating relevance degree between previous text segment and current segment according to the weight of each word in the text segment; and a text stream determining means for determining the text stream to be used to generate said queries by comparing the calculated relevance degree between previous text segment and current segment with a given threshold.
 11. The electronic document processing device according to claim 8, further comprising a query verification unit for evaluating, modifying said query generated by the query generating unit according to the content of the document.
 12. An electronic document browsing method, comprising: reading query information correspondingly stored with the electronic document, wherein said query including keywords, keyword string or questions; presenting user with at least one query contained in query information; and representing the content of said electronic document to said user when user confirms said query.
 13. The electronic document browsing method according to claim 12, wherein the step of representing the content of said electronic document to the user comprises: inputting at least one query that the user wants to execute, wherein said query including keywords, keyword string or questions; selecting a query, in which the keywords, keyword string and questions are closely related to those input by the user; and representing the most related query to the user.
 14. An electronic document browser, comprising: an electronic document browsing unit for browsing the content of the electronic document; a query information reading unit for reading at least one query information correspondingly stored with the electronic document, wherein said query contains keywords, keyword string or questions; and a query representing unit for representing the user with at least one query in query information read by the query information reading unit.
 15. The electronic document browser according to claim 14, further comprising: a query selection unit for selecting the query same with or closely related to the query input by user from at least one query contained in the query information; and a query representing unit being further used to represent the user with the same or closely related query or queries.
 16. An electronic document retrieving method, characterized in that it comprises the steps of: extracting at least one query information correspondingly stored with the electronic document, wherein each of the query information containing keywords, keyword string or questions of at least one corresponding queries; generating indices for the extracted multiple query information; in responsive to the user's queries, searching at least one queries, which is same or closely related to the user's query input, from the query indices; representing the user with said same or closely related queries; and providing the user with the electronic document or a link to said electronic document according to the user's selected query.
 17. The electronic document retrieving method according to claim 16, wherein the step of searching at least one query same with or closely related to the query input by the user further comprises: calculating relevance degree between the query input by the user and each query in the query indices; and selecting the query with the largest relevance degree or whose relevance degree is larger than a given value.
 18. The electronic document retrieving method according to claim 16, wherein the step of representing the user with at least one query same with or closely related to the query input by user further comprises: verifying the represented query through operations of evaluating and/or modifying, and giving a corresponding feedback information; and updating the query information according to said feedback information.
 19. An electronic document retrieving system, characterized in that it comprises: a query information extracting means for extracting query information correspondingly stored with said electronic document, wherein each of said query information containing keywords, keyword string or questions of at least one queries; a query indexing means for generating indices of the queries in said extracted query information; a query index storing means for storing query indices produced by the query indexing means; a query searching means for searching at least one query, which are same with or closely related to the user's query input, from the query indices stored in the query index storing means; a query presenting means for presenting the user with at least one queries, which are same with or closely related to user's query, searched by query searching means; and an electronic document providing means for providing the user with the electronic document or a link to said electronic document according to the user's selected query.
 20. The electronic document retrieving system according to claim 19, characterized in that it further comprises: a similarity calculating means for calculating the relevance degree between two word strings; wherein, said query searching means, utilizing said similarity calculating means, calculating the relevance degree between the query input by the user and the queries in query indices, and selecting one query with the largest relevance degree or the ones whose relevance degree is larger than a given value.
 21. The electronic document retrieving system according to claim 19, characterized in that it further comprises: a query feedback means for verifying the represented query through operations of evaluating, modifying, then returning a feedback information correspondingly and updating the corresponding query information.
 22. An article of manufacture comprising a computer usable medium having computer readable program code means embodied therein for causing electronic document processing, the computer readable program code means in said article of manufacture comprising computer readable program code means for causing a computer to effect the steps of claim
 1. 23. A computer program product comprising a computer usable medium having computer readable program code means embodied therein for causing functions of an electronic document processing device, the computer readable program code means in said computer program product comprising computer readable program code means for causing a computer to effect the functions of claim
 8. 24. An article of manufacture comprising a computer usable medium having computer readable program code means embodied therein for causing electronic document browsing, the computer readable program code means in said article of manufacture comprising computer readable program code means for causing a computer to effect the steps of claim
 12. 25. An article of manufacture comprising a computer usable medium having computer readable program code means embodied therein for causing electronic document retrieving, the computer readable program code means in said article of manufacture comprising computer readable program code means for causing a computer to effect the steps of claim
 16. 26. A computer program product comprising a computer usable medium having computer readable program code means embodied therein for causing functions of an electronic document retrieving system, the computer readable program code means in said computer program product comprising computer readable program code means for causing a computer to effect the functions of claim
 19. 27. A computer program product comprising a computer usable medium having computer readable program code means embodied therein for causing functions of an electronic document browser system, the computer readable program code means in said computer program product comprising computer readable program code means for causing a computer to effect the functions of claim
 14. 